<?php $this->widget('bootstrap.widgets.BootNavbar', array(
	'fixed'=>false,
	'brand'=>Yii::t('label', 'Trang chủ'),
	'brandUrl'=>'/',
	#'collapse'=>true, // requires bootstrap-responsive.css
	'items'=>array(
		array(
			'class'=>'bootstrap.widgets.BootMenu',
			'items'=>array(
				array('label'=>Yii::t('label', 'Giới thiệu'), 'url'=>'/trang-chu/'),
				array('label'=>Yii::t('label', 'Tin tức'), 'url'=>'/dich-vu/'),
				array('label'=>Yii::t('label', 'Khuyến mại'), 'url'=>'/tich-hop-thanh-toan/'),
				array('label'=>Yii::t('label', 'Hướng dẫn đặt hàng'), 'url'=>'/shopping/'),
				array('label'=>Yii::t('label', 'Liên hệ'), 'url'=>'/tin-tuc/'),
				array('label'=>Yii::t('label', 'Hợp tác'), 'url'=>'/ho-tro/'),
			),
		),
		array(
            'class'=>'bootstrap.widgets.BootMenu',
            'htmlOptions'=>array('class'=>'pull-right'),
            'items'=>array(
                array('label'=>Yii::t('label','Giỏ hàng của bạn'), 'url'=>'#'),
            ),
        ),
        '<form class="navbar-search pull-right" action=""><input type="text" class="search-query span2" placeholder="Search"></form>',
	),

)); ?>

<div id="header" class="row"><!--Header -->
	<div class="container">
		<div class="logo pull-left">
			<img src="<?php echo Yii::app()->baseUrl; ?>/images/logo.png" alt="">
		</div>
		

		<div class="lang-and-support pull-right">
			<center>
				<div class="dropdown" id="lang-menu">
					<a class="dropdown-toggle" data-toggle="dropdown" href="#lang-menu">
						<img src="<?php echo Yii::app()->baseUrl; ?>/images/vi.gif" > <?php echo 'Việt Nam'; ?>
						<b class="caret"></b>
					</a>
					<ul class="dropdown-menu">
						<?php #foreach ($langs as $l=>$dsp): ?>
						<li>
							<a href="#"><img src="<?php echo Yii::app()->baseUrl; ?>/images/vi.gif"> <?php echo 'Việt Nam'; ?></a>
						</li>
						<li>
							<a href="#"><img src="<?php echo Yii::app()->baseUrl; ?>/images/en.gif" > <?php echo 'English'; ?></a>
						</li>
						<?php #endforeach; ?>
					</ul>
				</div>
			</center>
			
		</div>
	</div>
</div><!--Header end-->